// 统一请求路径前缀在libs/axios.js中修改
import {
  getRequest,
  putRequest,
  postRequest,
  deleteRequest,
  putRequestWithNoForm,
  postRequestWithNoForm
} from "@/libs/axios";

// 获取账单统计
export const getBillStatisticsList = (params) => {
  return getRequest("/statistics/mainBill", params);
};
//  查询订单列表
export const getOrderList = (params) => {
  return getRequest(`/statistics/mainBill/order`, params)
}
//  获取售后订单列表
export const getAfterSaleOrderPage = (params) => {
  return getRequest('/statistics/mainBill/afterSale', params)
}
// 获取预存款明细列表数据
export const getUserWallet = (params) => {
  return getRequest("/statistics/mainBill/walletLog", params);
};
// 获取转赠明细列表数据
export const getTransferLog = (params) => {
  return getRequest("/statistics/mainBill/transferLog", params);
};
